cod_give_weapon

Syntax

native cod_give_weapon(id, weapon, amount = 0);

Usage

id
Player index
weapon
Weapon in CSW_* format.
amount
Amount value

Description

Gives player a weapon and allows player to own and pick it.

Note

Amount is only for adding multiple nades at once and is not used for other weapons.

Return

This function has no return value.